'use strict';

const Controller = require('../core/base_controller');

class GroupController extends Controller {

    async getList() {
        this.tc(await this.ctx.service.group.getList());
    }
    //删除
    async del() {
        this.tc(await this.ctx.service.group.del());
    }
    //编辑状态
    async edit() {
        this.tc(await this.ctx.service.group.edit());
    }
}

module.exports = GroupController;
